<div class="main-title clearfix">
    <h1>White Label Settings</h1>
</div>
<div class="grid_16">
	<div class="section">
		<div class="block">
			<div class="admin-agency form">
				<?php
				$form = $this->beginWidget('CActiveForm', array(
					'id' => 'admin-agency-mls-form',
					'enableAjaxValidation' => false,
					'htmlOptions' => array()
				));
				?>
				<div class="">
					<table class="form-table">
						<tr>
							<th scope="row" width="180" class='align-right'>
								<label>System Name</label>
							</th>
							<td>
								<?php echo CHtml::textField('AgencySetting[WhiteLabel][SystemName]', $agency->settings['WhiteLabel']['SystemName'], array('size' => 40)); ?>
							</td>
						</tr>
						<tr>
							<th scope="row" width="180" class='align-right'>
								<label>System Name Abbreviation</label>
							</th>
							<td>
								<?php echo CHtml::textField('AgencySetting[WhiteLabel][SystemShortName]', $agency->settings['WhiteLabel']['SystemShortName'], array('size' => 16, 'maxlength' => 12)); ?>
							</td>
						</tr>
						<tr>
							<th scope="row" width="180" class='align-right'>
								<label>Mobile Calendar Name</label>
							</th>
							<td>
								<?php echo CHtml::textField('AgencySetting[WhiteLabel][CalendarName]', $agency->settings['WhiteLabel']['CalendarName'], array('size' => 20, 'maxlength' => 20)); ?>
							</td>
						</tr>
					</table>
					<table class="form-table">
						<th>
							<button type="submit" class="link-button round_all no-margin">
								<span>Save Changes</span>
							</button>
						</th>
					</table>
				</div>
				<?php $this->endWidget(); ?>
			</div>
		</div>
    </div>
</div>